package com.koron.operation.startlog.services;


import com.koron.operation.startlog.bean.StartLogBean;
import com.koron.operation.startlog.bean.dto.StartLogDto;
import com.koron.operation.startlog.bean.dto.StartOperDto;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;


public interface StartLogService {

    //开停机操作提交
    void saveStartLog(SessionFactory factory, StartLogBean bean);

    //开停机操作列表
    List<StartOperDto> queryList(SessionFactory factory);

    //公司驾驶舱获取获取最新设备开关机状态 与 匹配台账泵张设备ID
    List<StartOperDto> cockpitVoqueryList(SessionFactory factory);

    //开停机日志列表
    List<StartLogBean> querylogList(SessionFactory factory, StartLogDto dto);

    //开停机日志详情
    StartLogBean logDetails(SessionFactory factory, String id);

    //开停机日志更新
    String update(SessionFactory factory, StartLogBean bean);

    // 批量
    void bathInsert(SessionFactory factory, List<StartLogBean> list);
}
